package net.jacqeush.mini.rpc.client.manage;

/**
 * @author Jacquesh
 * @version 1.0
 * @date 2020/10/17 3:38
 */
public interface RpcCallback {
    /**
     * $ callback 返回成功
     * @param result object
     */
    void success(Object result);
    /**
     * $ callback 返回失败
     * @param cause Throwable
     */
    void failure(Throwable cause);
}
